<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Net::SMTP - Simple Mail Transfer Protocol Client - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/Net::SMTP">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Net::SMTP.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/Net::SMTP">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/Net::SMTP">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/Net::SMTP">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/Net::SMTP">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/Net::SMTP">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/Net::SMTP">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/Net::SMTP">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/Net::SMTP">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/Net::SMTP">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/Net::SMTP">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/Net::SMTP">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/Net::SMTP">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/Net::SMTP">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/Net::SMTP">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/Net::SMTP">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/Net::SMTP">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/Net::SMTP">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/Net::SMTP">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/Net::SMTP">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/Net::SMTP">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/Net::SMTP">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/Net::SMTP">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/Net::SMTP">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/Net::SMTP">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/Net::SMTP">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/Net::SMTP">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/Net::SMTP">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/Net::SMTP">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/Net::SMTP">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/Net::SMTP">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/Net::SMTP">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/Net::SMTP">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/Net::SMTP">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/Net::SMTP">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/Net::SMTP">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/Net::SMTP">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/Net::SMTP">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/Net::SMTP">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/Net::SMTP">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/Net::SMTP">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/Net::SMTP">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/Net::SMTP">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/Net::SMTP">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/Net::SMTP">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/Net::SMTP">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/Net::SMTP">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/Net::SMTP">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/Net::SMTP">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/Net::SMTP">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/Net::SMTP">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/Net::SMTP">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/Net::SMTP">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/Net::SMTP">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/Net::SMTP">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/Net::SMTP">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/Net::SMTP">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/Net::SMTP">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/Net::SMTP">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/Net::SMTP">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/Net::SMTP">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/Net::SMTP">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/Net::SMTP">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/Net::SMTP">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/Net::SMTP">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/Net::SMTP">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/Net::SMTP">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/Net::SMTP">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/Net::SMTP">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/Net::SMTP">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/Net::SMTP">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/Net::SMTP">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/Net::SMTP">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/Net::SMTP">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/Net::SMTP">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/Net::SMTP">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/Net::SMTP">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/Net::SMTP">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/Net::SMTP">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/Net::SMTP">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/Net::SMTP">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Net::SMTP.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/Net::SMTP">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/Net::SMTP">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/Net::SMTP">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/Net::SMTP">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/Net::SMTP">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/Net::SMTP">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/Net::SMTP">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/Net::SMTP">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/Net::SMTP">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/Net::SMTP">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/Net::SMTP">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/Net::SMTP">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/Net::SMTP">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/Net::SMTP">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/Net::SMTP">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/Net::SMTP">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/Net::SMTP">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/Net::SMTP">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/Net::SMTP">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/Net::SMTP">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/Net::SMTP">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/Net::SMTP">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/Net::SMTP">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/Net::SMTP">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/Net::SMTP">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/Net::SMTP">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/Net::SMTP">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/Net::SMTP">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/Net::SMTP">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/Net::SMTP">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/Net::SMTP">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/Net::SMTP">5.35.1</a>
          <a class="dropdown-item active" href="./Net::SMTP.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Net::SMTP.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="./Net::SMTP.html">Net::SMTP</a>
          <div id="more">
            (<a href="./Net::SMTP.txt">source</a>,
            <a href="https://metacpan.org/pod/Net::SMTP">CPAN</a>)
          </div>
            <div id="moduleversion">version 3.13</div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#SYNOPSIS">SYNOPSIS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#DESCRIPTION">DESCRIPTION</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#Class-Methods">Class Methods</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#Object-Methods">Object Methods</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#Addresses">Addresses</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#EXAMPLES">EXAMPLES</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#EXPORTS">EXPORTS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#KNOWN-BUGS">KNOWN BUGS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#SEE-ALSO">SEE ALSO</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#AUTHOR">AUTHOR</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#COPYRIGHT">COPYRIGHT</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#LICENCE">LICENCE</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#VERSION">VERSION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#DATE">DATE</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Net::SMTP.html#HISTORY">HISTORY</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="./Net::SMTP.html#NAME">#</a>NAME</h1>

<p>Net::SMTP - Simple Mail Transfer Protocol Client</p>

<h1 id="SYNOPSIS"><a class="permalink" href="./Net::SMTP.html#SYNOPSIS">#</a>SYNOPSIS</h1>

<pre><code>use Net::SMTP;

# Constructors
$smtp = Net::SMTP-&gt;new(&#39;mailhost&#39;);
$smtp = Net::SMTP-&gt;new(&#39;mailhost&#39;, Timeout =&gt; 60);</code></pre>

<h1 id="DESCRIPTION"><a class="permalink" href="./Net::SMTP.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p>This module implements a client interface to the SMTP and ESMTP protocol, enabling a perl5 application to talk to SMTP servers. This documentation assumes that you are familiar with the concepts of the SMTP protocol described in RFC2821. With <a href="./IO::Socket::SSL.html">IO::Socket::SSL</a> installed it also provides support for implicit and explicit TLS encryption, i.e. SMTPS or SMTP+STARTTLS.</p>

<p>The Net::SMTP class is a subclass of Net::Cmd and (depending on avaibility) of IO::Socket::IP, IO::Socket::INET6 or IO::Socket::INET.</p>

<h2 id="Class-Methods"><a class="permalink" href="./Net::SMTP.html#Class-Methods">#</a><a id="Class"></a>Class Methods</h2>

<dl>

<dt id="new([$host][,-%options])"><a class="permalink" href="./Net::SMTP.html#new(%5B$host%5D%5B,-%25options%5D)">#</a><a id="new"></a><a id="new-host-options"></a><code>new([$host][, %options])</code></dt>
<dd>

<p>This is the constructor for a new Net::SMTP object. <code>$host</code> is the name of the remote host to which an SMTP connection is required.</p>

<p>On failure <code>undef</code> will be returned and <code>$@</code> will contain the reason for the failure.</p>

<p><code>$host</code> is optional. If <code>$host</code> is not given then it may instead be passed as the <code>Host</code> option described below. If neither is given then the <code>SMTP_Hosts</code> specified in <code>Net::Config</code> will be used.</p>

<p><code>%options</code> are passed in a hash like fashion, using key and value pairs. Possible options are:</p>

<p><b>Hello</b> - SMTP requires that you identify yourself. This option specifies a string to pass as your mail domain. If not given localhost.localdomain will be used.</p>

<p><b>SendHello</b> - If false then the EHLO (or HELO) command that is normally sent when constructing the object will not be sent. In that case the command will have to be sent manually by calling <code>hello()</code> instead.</p>

<p><b>Host</b> - SMTP host to connect to. It may be a single scalar (hostname[:port]), as defined for the <code>PeerAddr</code> option in <a href="./IO::Socket::INET.html">IO::Socket::INET</a>, or a reference to an array with hosts to try in turn. The <a href="./Net::SMTP.html#host">&quot;host&quot;</a> method will return the value which was used to connect to the host. Format - <code>PeerHost</code> from <a href="./IO::Socket::INET.html">IO::Socket::INET</a> new method.</p>

<p><b>Port</b> - port to connect to. Default - 25 for plain SMTP and 465 for immediate SSL.</p>

<p><b>SSL</b> - If the connection should be done from start with SSL, contrary to later upgrade with <code>starttls</code>. You can use SSL arguments as documented in <a href="./IO::Socket::SSL.html">IO::Socket::SSL</a>, but it will usually use the right arguments already.</p>

<p><b>LocalAddr</b> and <b>LocalPort</b> - These parameters are passed directly to IO::Socket to allow binding the socket to a specific local address and port.</p>

<p><b>Domain</b> - This parameter is passed directly to IO::Socket and makes it possible to enforce IPv4 connections even if <a href="./IO::Socket::IP.html">IO::Socket::IP</a> is used as super class. Alternatively <b>Family</b> can be used.</p>

<p><b>Timeout</b> - Maximum time, in seconds, to wait for a response from the SMTP server (default: 120)</p>

<p><b>ExactAddresses</b> - If true then all <code>$address</code> arguments must be as defined by <code>addr-spec</code> in RFC2822. If not given, or false, then Net::SMTP will attempt to extract the address from the value passed.</p>

<p><b>Debug</b> - Enable debugging information</p>

<p>Example:</p>

<pre><code>$smtp = Net::SMTP-&gt;new(&#39;mailhost&#39;,
                       Hello =&gt; &#39;my.mail.domain&#39;,
                       Timeout =&gt; 30,
                       Debug   =&gt; 1,
                      );

# the same
$smtp = Net::SMTP-&gt;new(
                       Host =&gt; &#39;mailhost&#39;,
                       Hello =&gt; &#39;my.mail.domain&#39;,
                       Timeout =&gt; 30,
                       Debug   =&gt; 1,
                      );

# the same with direct SSL
$smtp = Net::SMTP-&gt;new(&#39;mailhost&#39;,
                       Hello =&gt; &#39;my.mail.domain&#39;,
                       Timeout =&gt; 30,
                       Debug   =&gt; 1,
                       SSL     =&gt; 1,
                      );

# Connect to the default server from Net::config
$smtp = Net::SMTP-&gt;new(
                       Hello =&gt; &#39;my.mail.domain&#39;,
                       Timeout =&gt; 30,
                      );</code></pre>

</dd>
</dl>

<h1 id="Object-Methods"><a class="permalink" href="./Net::SMTP.html#Object-Methods">#</a><a id="Object"></a>Object Methods</h1>

<p>Unless otherwise stated all methods return either a <i>true</i> or <i>false</i> value, with <i>true</i> meaning that the operation was a success. When a method states that it returns a value, failure will be returned as <i>undef</i> or an empty list.</p>

<p><code>Net::SMTP</code> inherits from <code>Net::Cmd</code> so methods defined in <code>Net::Cmd</code> may be used to send commands to the remote SMTP server in addition to the methods documented here.</p>

<dl>

<dt id="banner()"><a class="permalink" href="./Net::SMTP.html#banner()">#</a><a id="banner"></a><code>banner()</code></dt>
<dd>

<p>Returns the banner message which the server replied with when the initial connection was made.</p>

</dd>
<dt id="domain()"><a class="permalink" href="./Net::SMTP.html#domain()">#</a><a id="domain"></a><code>domain()</code></dt>
<dd>

<p>Returns the domain that the remote SMTP server identified itself as during connection.</p>

</dd>
<dt id="hello($domain)"><a class="permalink" href="./Net::SMTP.html#hello($domain)">#</a><a id="hello"></a><a id="hello-domain"></a><code>hello($domain)</code></dt>
<dd>

<p>Tell the remote server the mail domain which you are in using the EHLO command (or HELO if EHLO fails). Since this method is invoked automatically when the Net::SMTP object is constructed the user should normally not have to call it manually.</p>

</dd>
<dt id="host()"><a class="permalink" href="./Net::SMTP.html#host()">#</a><a id="host"></a><code>host()</code></dt>
<dd>

<p>Returns the value used by the constructor, and passed to IO::Socket::INET, to connect to the host.</p>

</dd>
<dt id="etrn($domain)"><a class="permalink" href="./Net::SMTP.html#etrn($domain)">#</a><a id="etrn"></a><a id="etrn-domain"></a><code>etrn($domain)</code></dt>
<dd>

<p>Request a queue run for the <code>$domain</code> given.</p>

</dd>
<dt id="starttls(%sslargs)"><a class="permalink" href="./Net::SMTP.html#starttls(%25sslargs)">#</a><a id="starttls"></a><a id="starttls-sslargs"></a><code>starttls(%sslargs)</code></dt>
<dd>

<p>Upgrade existing plain connection to SSL. You can use SSL arguments as documented in <a href="./IO::Socket::SSL.html">IO::Socket::SSL</a>, but it will usually use the right arguments already.</p>

</dd>
<dt id="auth($username,-$password)"><a class="permalink" href="./Net::SMTP.html#auth($username,-$password)">#</a><a id="auth"></a><a id="auth-username-password"></a><code>auth($username, $password)</code></dt>
<dd>

</dd>
<dt id="auth($sasl)"><a class="permalink" href="./Net::SMTP.html#auth($sasl)">#</a><a id="auth1"></a><a id="auth-sasl"></a><code>auth($sasl)</code></dt>
<dd>

<p>Attempt SASL authentication. Requires Authen::SASL module. The first form constructs a new Authen::SASL object using the given username and password; the second form uses the given Authen::SASL object.</p>

</dd>
<dt id="mail($address[,-%options])"><a class="permalink" href="./Net::SMTP.html#mail($address%5B,-%25options%5D)">#</a><a id="mail"></a><a id="mail-address-options"></a><code>mail($address[, %options])</code></dt>
<dd>

</dd>
<dt id="send($address)"><a class="permalink" href="./Net::SMTP.html#send($address)">#</a><a id="send"></a><a id="send-address"></a><code>send($address)</code></dt>
<dd>

</dd>
<dt id="send_or_mail($address)"><a class="permalink" href="./Net::SMTP.html#send_or_mail($address)">#</a><a id="send_or_mail"></a><a id="send_or_mail-address"></a><code>send_or_mail($address)</code></dt>
<dd>

</dd>
<dt id="send_and_mail($address)"><a class="permalink" href="./Net::SMTP.html#send_and_mail($address)">#</a><a id="send_and_mail"></a><a id="send_and_mail-address"></a><code>send_and_mail($address)</code></dt>
<dd>

<p>Send the appropriate command to the server MAIL, SEND, SOML or SAML. <code>$address</code> is the address of the sender. This initiates the sending of a message. The method <code>recipient</code> should be called for each address that the message is to be sent to.</p>

<p>The <code>mail</code> method can take some additional ESMTP <code>%options</code> which is passed in hash like fashion, using key and value pairs. Possible options are:</p>

<pre><code class="plaintext">Size        =&gt; &lt;bytes&gt;
Return      =&gt; &quot;FULL&quot; | &quot;HDRS&quot;
Bits        =&gt; &quot;7&quot; | &quot;8&quot; | &quot;binary&quot;
Transaction =&gt; &lt;ADDRESS&gt;
Envelope    =&gt; &lt;ENVID&gt;     # xtext-encodes its argument
ENVID       =&gt; &lt;ENVID&gt;     # similar to Envelope, but expects argument encoded
XVERP       =&gt; 1
AUTH        =&gt; &lt;submitter&gt; # encoded address according to RFC 2554</code></pre>

<p>The <code>Return</code> and <code>Envelope</code> parameters are used for DSN (Delivery Status Notification).</p>

<p>The submitter address in <code>AUTH</code> option is expected to be in a format as required by RFC 2554, in an RFC2821-quoted form and xtext-encoded, or &lt;&gt; .</p>

</dd>
<dt id="reset()"><a class="permalink" href="./Net::SMTP.html#reset()">#</a><a id="reset"></a><code>reset()</code></dt>
<dd>

<p>Reset the status of the server. This may be called after a message has been initiated, but before any data has been sent, to cancel the sending of the message.</p>

</dd>
<dt id="recipient($address[,-$address[,-...]][,-%options])"><a class="permalink" href="./Net::SMTP.html#recipient($address%5B,-$address%5B,-...%5D%5D%5B,-%25options%5D)">#</a><a id="recipient"></a><a id="recipient-address-address-...-options"></a><code>recipient($address[, $address[, ...]][, %options])</code></dt>
<dd>

<p>Notify the server that the current message should be sent to all of the addresses given. Each address is sent as a separate command to the server. Should the sending of any address result in a failure then the process is aborted and a <i>false</i> value is returned. It is up to the user to call <code>reset</code> if they so desire.</p>

<p>The <code>recipient</code> method can also pass additional case-sensitive <code>%options</code> as an anonymous hash using key and value pairs. Possible options are:</p>

<pre><code class="plaintext">Notify  =&gt; [&#39;NEVER&#39;] or [&#39;SUCCESS&#39;,&#39;FAILURE&#39;,&#39;DELAY&#39;]  (see below)
ORcpt   =&gt; &lt;ORCPT&gt;
SkipBad =&gt; 1        (to ignore bad addresses)</code></pre>

<p>If <code>SkipBad</code> is true the <code>recipient</code> will not return an error when a bad address is encountered and it will return an array of addresses that did succeed.</p>

<pre><code>$smtp-&gt;recipient($recipient1,$recipient2);  # Good
$smtp-&gt;recipient($recipient1,$recipient2, { SkipBad =&gt; 1 });  # Good
$smtp-&gt;recipient($recipient1,$recipient2, { Notify =&gt; [&#39;FAILURE&#39;,&#39;DELAY&#39;], SkipBad =&gt; 1 });  # Good
@goodrecips=$smtp-&gt;recipient(@recipients, { Notify =&gt; [&#39;FAILURE&#39;], SkipBad =&gt; 1 });  # Good
$smtp-&gt;recipient(&quot;$recipient,$recipient2&quot;); # BAD</code></pre>

<p>Notify is used to request Delivery Status Notifications (DSNs), but your SMTP/ESMTP service may not respect this request depending upon its version and your site&#39;s SMTP configuration.</p>

<p>Leaving out the Notify option usually defaults an SMTP service to its default behavior equivalent to [&#39;FAILURE&#39;] notifications only, but again this may be dependent upon your site&#39;s SMTP configuration.</p>

<p>The NEVER keyword must appear by itself if used within the Notify option and &quot;requests that a DSN not be returned to the sender under any conditions.&quot;</p>

<pre><code>{Notify =&gt; [&#39;NEVER&#39;]}

$smtp-&gt;recipient(@recipients, { Notify =&gt; [&#39;NEVER&#39;], SkipBad =&gt; 1 });  # Good</code></pre>

<p>You may use any combination of these three values &#39;SUCCESS&#39;,&#39;FAILURE&#39;,&#39;DELAY&#39; in the anonymous array reference as defined by RFC3461 (see <a href="https://www.ietf.org/rfc/rfc3461.txt">https://www.ietf.org/rfc/rfc3461.txt</a> for more information. Note: quotations in this topic from same.).</p>

<p>A Notify parameter of &#39;SUCCESS&#39; or &#39;FAILURE&#39; &quot;requests that a DSN be issued on successful delivery or delivery failure, respectively.&quot;</p>

<p>A Notify parameter of &#39;DELAY&#39; &quot;indicates the sender&#39;s willingness to receive delayed DSNs. Delayed DSNs may be issued if delivery of a message has been delayed for an unusual amount of time (as determined by the Message Transfer Agent (MTA) at which the message is delayed), but the final delivery status (whether successful or failure) cannot be determined. The absence of the DELAY keyword in a NOTIFY parameter requests that a &quot;delayed&quot; DSN NOT be issued under any conditions.&quot;</p>

<pre><code>{Notify =&gt; [&#39;SUCCESS&#39;,&#39;FAILURE&#39;,&#39;DELAY&#39;]}

$smtp-&gt;recipient(@recipients, { Notify =&gt; [&#39;FAILURE&#39;,&#39;DELAY&#39;], SkipBad =&gt; 1 });  # Good</code></pre>

<p>ORcpt is also part of the SMTP DSN extension according to RFC3461. It is used to pass along the original recipient that the mail was first sent to. The machine that generates a DSN will use this address to inform the sender, because he can&#39;t know if recipients get rewritten by mail servers. It is expected to be in a format as required by RFC3461, xtext-encoded.</p>

</dd>
<dt id="to($address[,-$address[,-...]])"><a class="permalink" href="./Net::SMTP.html#to($address%5B,-$address%5B,-...%5D%5D)">#</a><a id="to"></a><a id="to-address-address"></a><code>to($address[, $address[, ...]])</code></dt>
<dd>

</dd>
<dt id="cc($address[,-$address[,-...]])"><a class="permalink" href="./Net::SMTP.html#cc($address%5B,-$address%5B,-...%5D%5D)">#</a><a id="cc"></a><a id="cc-address-address"></a><code>cc($address[, $address[, ...]])</code></dt>
<dd>

</dd>
<dt id="bcc($address[,-$address[,-...]])"><a class="permalink" href="./Net::SMTP.html#bcc($address%5B,-$address%5B,-...%5D%5D)">#</a><a id="bcc"></a><a id="bcc-address-address"></a><code>bcc($address[, $address[, ...]])</code></dt>
<dd>

<p>Synonyms for <code>recipient</code>.</p>

</dd>
<dt id="data([$data])"><a class="permalink" href="./Net::SMTP.html#data(%5B$data%5D)">#</a><a id="data"></a><a id="data-data"></a><code>data([$data])</code></dt>
<dd>

<p>Initiate the sending of the data from the current message.</p>

<p><code>$data</code> may be a reference to a list or a list and must be encoded by the caller to octets of whatever encoding is required, e.g. by using the Encode module&#39;s <code>encode()</code> function.</p>

<p>If specified the contents of <code>$data</code> and a termination string <code>&quot;.\r\n&quot;</code> is sent to the server. The result will be true if the data was accepted.</p>

<p>If <code>$data</code> is not specified then the result will indicate that the server wishes the data to be sent. The data must then be sent using the <code>datasend</code> and <code>dataend</code> methods described in <a href="./Net::Cmd.html">Net::Cmd</a>.</p>

</dd>
<dt id="bdat($data)"><a class="permalink" href="./Net::SMTP.html#bdat($data)">#</a><a id="bdat"></a><a id="bdat-data"></a><code>bdat($data)</code></dt>
<dd>

</dd>
<dt id="bdatlast($data)"><a class="permalink" href="./Net::SMTP.html#bdatlast($data)">#</a><a id="bdatlast"></a><a id="bdatlast-data"></a><code>bdatlast($data)</code></dt>
<dd>

<p>Use the alternate <code>$data</code> command &quot;BDAT&quot; of the data chunking service extension defined in RFC1830 for efficiently sending large MIME messages.</p>

</dd>
<dt id="expand($address)"><a class="permalink" href="./Net::SMTP.html#expand($address)">#</a><a id="expand"></a><a id="expand-address"></a><code>expand($address)</code></dt>
<dd>

<p>Request the server to expand the given address Returns an array which contains the text read from the server.</p>

</dd>
<dt id="verify($address)"><a class="permalink" href="./Net::SMTP.html#verify($address)">#</a><a id="verify"></a><a id="verify-address"></a><code>verify($address)</code></dt>
<dd>

<p>Verify that <code>$address</code> is a legitimate mailing address.</p>

<p>Most sites usually disable this feature in their SMTP service configuration. Use &quot;Debug =&gt; 1&quot; option under new() to see if disabled.</p>

</dd>
<dt id="help([$subject])"><a class="permalink" href="./Net::SMTP.html#help(%5B$subject%5D)">#</a><a id="help"></a><a id="help-subject"></a><code>help([$subject])</code></dt>
<dd>

<p>Request help text from the server. Returns the text or undef upon failure</p>

</dd>
<dt id="quit()"><a class="permalink" href="./Net::SMTP.html#quit()">#</a><a id="quit"></a><code>quit()</code></dt>
<dd>

<p>Send the QUIT command to the remote SMTP server and close the socket connection.</p>

</dd>
<dt id="can_inet6()"><a class="permalink" href="./Net::SMTP.html#can_inet6()">#</a><a id="can_inet6"></a><code>can_inet6()</code></dt>
<dd>

<p>Returns whether we can use IPv6.</p>

</dd>
<dt id="can_ssl()"><a class="permalink" href="./Net::SMTP.html#can_ssl()">#</a><a id="can_ssl"></a><code>can_ssl()</code></dt>
<dd>

<p>Returns whether we can use SSL.</p>

</dd>
</dl>

<h2 id="Addresses"><a class="permalink" href="./Net::SMTP.html#Addresses">#</a>Addresses</h2>

<p>Net::SMTP attempts to DWIM with addresses that are passed. For example an application might extract The From: line from an email and pass that to mail(). While this may work, it is not recommended. The application should really use a module like <a href="./Mail::Address.html">Mail::Address</a> to extract the mail address and pass that.</p>

<p>If <code>ExactAddresses</code> is passed to the constructor, then addresses should be a valid rfc2821-quoted address, although Net::SMTP will accept the address surrounded by angle brackets.</p>

<pre><code>funny user@domain      WRONG
&quot;funny user&quot;@domain    RIGHT, recommended
&lt;&quot;funny user&quot;@domain&gt;  OK</code></pre>

<h1 id="EXAMPLES"><a class="permalink" href="./Net::SMTP.html#EXAMPLES">#</a>EXAMPLES</h1>

<p>This example prints the mail domain name of the SMTP server known as mailhost:</p>

<pre><code>#!/usr/local/bin/perl -w

use Net::SMTP;

$smtp = Net::SMTP-&gt;new(&#39;mailhost&#39;);
print $smtp-&gt;domain,&quot;\n&quot;;
$smtp-&gt;quit;</code></pre>

<p>This example sends a small message to the postmaster at the SMTP server known as mailhost:</p>

<pre><code>#!/usr/local/bin/perl -w

use Net::SMTP;

my $smtp = Net::SMTP-&gt;new(&#39;mailhost&#39;);

$smtp-&gt;mail($ENV{USER});
if ($smtp-&gt;to(&#39;postmaster&#39;)) {
 $smtp-&gt;data();
 $smtp-&gt;datasend(&quot;To: postmaster\n&quot;);
 $smtp-&gt;datasend(&quot;\n&quot;);
 $smtp-&gt;datasend(&quot;A simple test message\n&quot;);
 $smtp-&gt;dataend();
} else {
 print &quot;Error: &quot;, $smtp-&gt;message();
}

$smtp-&gt;quit;</code></pre>

<h1 id="EXPORTS"><a class="permalink" href="./Net::SMTP.html#EXPORTS">#</a>EXPORTS</h1>

<p><i>None</i>.</p>

<h1 id="KNOWN-BUGS"><a class="permalink" href="./Net::SMTP.html#KNOWN-BUGS">#</a><a id="KNOWN"></a>KNOWN BUGS</h1>

<p>See <a href="https://rt.cpan.org/Dist/Display.html?Status=Active&amp;Queue=libnet">https://rt.cpan.org/Dist/Display.html?Status=Active&amp;Queue=libnet</a>.</p>

<h1 id="SEE-ALSO"><a class="permalink" href="./Net::SMTP.html#SEE-ALSO">#</a><a id="SEE"></a>SEE ALSO</h1>

<p><a href="./Net::Cmd.html">Net::Cmd</a>, <a href="./IO::Socket::SSL.html">IO::Socket::SSL</a>.</p>

<h1 id="AUTHOR"><a class="permalink" href="./Net::SMTP.html#AUTHOR">#</a>AUTHOR</h1>

<p>Graham Barr &lt;<a href="mailto:gbarr@pobox.com">gbarr@pobox.com</a>&gt;.</p>

<p>Steve Hay &lt;<a href="mailto:shay@cpan.org">shay@cpan.org</a>&gt; is now maintaining libnet as of version 1.22_02.</p>

<h1 id="COPYRIGHT"><a class="permalink" href="./Net::SMTP.html#COPYRIGHT">#</a>COPYRIGHT</h1>

<p>Copyright (C) 1995-2004 Graham Barr. All rights reserved.</p>

<p>Copyright (C) 2013-2016, 2020 Steve Hay. All rights reserved.</p>

<h1 id="LICENCE"><a class="permalink" href="./Net::SMTP.html#LICENCE">#</a>LICENCE</h1>

<p>This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e. under the terms of either the GNU General Public License or the Artistic License, as specified in the <i>LICENCE</i> file.</p>

<h1 id="VERSION"><a class="permalink" href="./Net::SMTP.html#VERSION">#</a>VERSION</h1>

<p>Version 3.13</p>

<h1 id="DATE"><a class="permalink" href="./Net::SMTP.html#DATE">#</a>DATE</h1>

<p>23 Dec 2020</p>

<h1 id="HISTORY"><a class="permalink" href="./Net::SMTP.html#HISTORY">#</a>HISTORY</h1>

<p>See the <i>Changes</i> file.</p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
